<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-default">
            <div class="panel-heading">
                <span style='float: left'><i class="fa fa-clock-o fa-fw"></i> 课程公告</span> <a ui-sref="dashboard.course.publicadd({couId: course.couId})" style='float: right'><i class="fa fa-edit"></i> 添加</a>
                <div style="clear: both"></div>
            </div>
            <div class="panel-body">
                <table class="table table-hover table-trip">
                    <tr>
                        <th>时间</th>
                        <th>内容</th>
                        <th>操作</th>
                    </tr>
                    <tr ng-repeat="notice in notices track by notice.notId">
                        <td>{{notice.notTime | date:'yyyy-MM-dd HH:mm' }}</td>
                        <td>{{notice.notText}}</td>
                        <th><a ng-click="deleteNotice(notice.notId)">删除</a></th>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</div>